Если в вашем проекте накопилось множество модульных и интеграционных тестов, их полный прогон может занимать ощутимое время. В процессе разработки чаще запускаются один или несколько конкретных тестов.
На помощь приходит команда:
dotnet test --filter
Команда позволяет запускать выборочные тесты, отфильтрованные по различным критериям:
➖ Названию метода
➖ Названию класса
➖ Атрибутам [Trait]
➖ Кастомным меткам
Примеры:
По части имени теста:
dotnet test --filter Name~Login
По имени класса:
dotnet test --filter FullyQualifiedName~MyApp.Tests.UserServiceTests
По категории через [Trait]:
dotnet test --filter Category=Integration
Комбинирование фильтров:
dotnet test --filter "(Category=Smoke)&(TestCategory!=Slow)"
Если в вашем проекте накопилось множество модульных и интеграционных тестов, их полный прогон может занимать ощутимое время. В процессе разработки чаще запускаются один или несколько конкретных тестов.
На помощь приходит команда:
dotnet test --filter
Команда позволяет запускать выборочные тесты, отфильтрованные по различным критериям:
➖ Названию метода
➖ Названию класса
➖ Атрибутам [Trait]
➖ Кастомным меткам
Примеры:
По части имени теста:
dotnet test --filter Name~Login
По имени класса:
dotnet test --filter FullyQualifiedName~MyApp.Tests.UserServiceTests
По категории через [Trait]:
dotnet test --filter Category=Integration
Комбинирование фильтров:
dotnet test --filter "(Category=Smoke)&(TestCategory!=Slow)"
Launched in 2013, Telegram allows users to broadcast messages to a following via “channels”, or create public and private groups that are simple for others to access. Users can also send and receive large data files, including text and zip files, directly via the app.The platform said it has more than 500m active users, and topped 1bn downloads in August, according to data from SensorTower.
What is Secret Chats of Telegram
Secret Chats are one of the service’s additional security features; it allows messages to be sent with client-to-client encryption. This setup means that, unlike regular messages, these secret messages can only be accessed from the device’s that initiated and accepted the chat. Additionally, Telegram notes that secret chats leave no trace on the company’s services and offer a self-destruct timer.